from django.conf.urls import patterns, include, url

urlpatterns = patterns('page.views',
    url(r'^$', 'page'),
    url(r'^progress/$', 'my_progress'),
    url(r'^create/$', 'create'),
    url(r'^create/(?P<parent_id>\d+)/$', 'create'),
    url(r'^edit/(?P<page_id>\d+)/$', 'edit'),
    url(r'^restructure/$', 'restructure'),
    url(r'^trash/(?P<page_id>\d+)/$', 'trash_page'),
    url(r'^diagnostic-test/$', 'take_diagnostic'),
    url(r'^set-questions-to-show/$', 'set_questions_to_show'),
    url(r'^(?:\w|\W)*?(?P<slug_title>(\w|[-])*)/$', 'view_page'),
)
urlpatterns += patterns('test.views',
    
)